import { Module } from '@nestjs/common';
import { DormitoryService } from './dormitory.service';
import { DormitoryController } from './dormitory.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Dormitory } from './dormitory.entity';
import { RedisCacheModule } from 'src/cache/cache.module';
import { UserModule } from 'src/user/user.module';
import { AnnouncementModule } from 'src/announcement/announcement.module';
import { NoticeModule } from 'src/notice/notice.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Dormitory]),
    UserModule,
    RedisCacheModule,
    NoticeModule
  ],
  providers: [DormitoryService],
  controllers: [DormitoryController]
})
export class DormitoryModule { }
